﻿<%@ Control Language="C#" ClassName="CategoryLogFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataCategoryId" runat="server" Text="Category Id:" AssociatedControlID="dataCategoryId" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataCategoryId" DataSourceID="CategoryIdCategoryDataSource" DataTextField="CategoryName" DataValueField="CategoryId" SelectedValue='<%# Bind("CategoryId") %>' AppendNullItem="true" Required="true" NullItemText="< Please Choose ...>" ErrorText="Required" />
					<data:CategoryDataSource ID="CategoryIdCategoryDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLogId" runat="server" Text="Log Id:" AssociatedControlID="dataLogId" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataLogId" DataSourceID="LogIdLogDataSource" DataTextField="EventId" DataValueField="LogId" SelectedValue='<%# Bind("LogId") %>' AppendNullItem="true" Required="true" NullItemText="< Please Choose ...>" ErrorText="Required" />
					<data:LogDataSource ID="LogIdLogDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


